home *** CD-ROM | disk | FTP | other *** search
- -- card: 2930 from stack: in
- -- bmap block id: 5376
- -- flags: 4000
- -- background id: 2744
- -- name:
- ----- HyperTalk script -----
- global Timeout
- global OldLoc
- put the long date into card field "Date"
- put the time into card field "Time"
- get the MouseLoc
- if it = OldLoc then -- Have not moved since last time
- get card field Time -- See it we have timed out
- convert it to seconds
- if it > Timeout then -- Timed out so go to Timeout card
- hide menuBar
- visual effect dissolve slowly
- go to first card of background "Timeout"
- end if
- else -- We moved so reset the timer and OldLoc
- put it into OldLoc
- put the time into Timeout
- convert Timeout to seconds
- add 60 to Timeout
- end if
- pass idle
-
-